setContentWidth

open fun setContentWidth(width: Int)(source)

Sets the width of the popup window by the size of its content. The final width may be larger to accommodate styled window dressing.

Parameters

width

Desired width of content in pixels.